<?php

namespace app\model\not_del;

use think\Model;
use think\model\relation\BelongsTo;

/**
 * 量表问题答案表
 */
class RatingScaleQuestionAnswerModel extends Model
{
    protected $name = 'rating_scale_question_answer';

    /**
     * 关联量表题目
     * @return BelongsTo
     */
    public function question(): BelongsTo
    {
        return $this->belongsTo(RatingScaleQuestionModel::class,'question_id');
    }
}